MFG Customers Process API - Implementation Template

(0 reviews)

Data mappings

This document provides information generated from the DataWeave scripts included in the project, such as function definitions, variable definitions, and data mapping tables.

ModuleDescription
capture-external-ids-from-routes
map-erp-prc-requestCustomer Mapping for ERP Systems (SAP HANA)
map-salesforce-customer-update-requestCustomer Update Mapping for Salesforce
map-salesforce-customer-create-requestCustomer Create Mapping for Salesforce

capture-external-ids-from-routes

Source: ./src/main/resources/dwl/capture-external-ids-from-routes.dwl

Mapping Tables

Capture External IDs

ExternalId FieldExternal System ValueDescription
ididThe id will be null for external id
externalIdpayloadThe external id in the external system
externalIdTypeexternalIdTypePre-defined external id type
statusstatusDefault to VALID

(back to top)

map-erp-prc-request

Customer Mapping for ERP Systems (SAP HANA)

Source: ./src/main/resources/dwl/map-erp-prc-request.dwl

Mapping Tables

Maps customer profiles of SourceSystems (B2C,Salesforce,ERP Systems -SAP ECC, HANA) to MDM in CIM format which is further used for creation of Customer in B2C Commerce. The object structure is same with only exception of Global Party Role Id being sent as an External Id to be stored in ERP Systems(SAPECC,HANA) to uniquely identify the customer.

MDMERP SystemsDescription
ididThe id will be Global Party Role Id for updating an existing customer
partyRoleTypepartyRoleTypeThe type of party role - default as Customer
party.ididThe id of the Party
party.partyTypepartyTypeThe type of party
party.personNamepersonNameThe full name of the Party
party.firstNamefirstNameThe first name of the Party
party.lastNamelastNameThe last name of the Party
party.namenameThe name of the Party
party.contactPointscontactPointsContact Points of the Party
party.externalIdsexternalIdsThe Global Party Id of Customer as in MDM.This will not be stored in ERP Systems
party.auditInfoauditInfoAudit Info of the Party
customerNumbercustomerNumberThe Customer Number to be stored in ERP Systems
customerStatuscustomerStatusThe Status of Customer to be updated in ERP Systems
externalIdsexternalIdsThe Global Party Role Id of Customer as in MDM that will need to be stored in ERP Systems
auditInfoauditInfoAudit Info of the Customer

(back to top)

map-salesforce-customer-update-request

Customer Update Mapping for Salesforce

Source: ./src/main/resources/dwl/map-salesforce-customer-update-request.dwl

Mapping Tables

Maps customer profiles of SourceSystem (SAP or B2C Commerce) to MDM in CIM format which is further used for creation of Customer in Salesforce. The object structure is same with only exception of Global Customer Id being sent as an ExternalId with ExternalIdType as MDM. This Id will be stored in Salesforce to uniquely identify the customer.

MDMSalesforceDescription
ididThe id will be Global Customer Id to update an existing Customer in Salesforce
partyRoleTypepartyRoleTypeThe type of party role - usually Customer
party.ididThe id of the Party
party.partyTypepartyTypeThe type of Party
party.personNamepersonNameThe full name of the Party
party.firstNamefirstNameThe first name of the Party
party.lastNamelastNameThe last name of the Party
party.namenameThe name of the party
party.contactPointscontactPointsContact Points of the Party
party.auditInfoauditInfoAudit Info of the Party
party.externalIdsexternalIdsThe Global Party Id of Customer as in MDM.This will not be stored in Salesforce
externalIdsexternalIdsThe Global Customer Id of Customer as in MDM that will need to be stored in Salesforce
auditInfoauditInfoAudit Info of the Customer
customerNumbercustomerNumberThe Customer Number to be stored in Salesforce
customerStatuscustomerStatusThe Status of Customer to be updated in Salesforce

(back to top)

map-salesforce-customer-create-request

Customer Create Mapping for Salesforce

Source: ./src/main/resources/dwl/map-salesforce-customer-create-request.dwl

Mapping Tables

Maps customer profiles of SourceSystem (SAP or B2C Commerce) to MDM in CIM format which is further used for creation of Customer in Salesforce. The object structure is same with only exception of Global Customer Id being sent as an External Id with External Id Type as MDM. This Id will be stored in Salesforce to uniquely identify the customer.

MDMSalesforceDescription
ididThe id will be null for creating a new Customer in Salesforce
partyRoleTypepartyRoleTypeThe type of party role - usually Customer
partycurrentPartyThe Party
externalIdsexternalIdsThe Global Customer Id of Customer as in MDM that will need to be stored in Salesforce
customerNumbercustomerNumberThe Customer Number to be stored in Salesforce
customerStatuscustomerStatusThe Status of Customer to be updated in Salesforce

(back to top)


Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 25, 2023
Asset overview

Asset versions for 2.2.x

Asset versions
VersionActions
2.2.4
2.2.3
2.2.2